package com.me.demo.pojo;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Copyright@ Apache Open Source Organization
 *
 * @Auther: Apache
 * @Date: 2021/11/05/13:44
 * @Description:
 */
public class CheZhanBaoJingPaiMingModel {
    //车站报警排名
    private List<StationAlarm> stationAlarms;

    public List<StationAlarm> getStationAlarms() {
        return stationAlarms;
    }

    public void setStationAlarms(List<StationAlarm> stationAlarms) {
        this.stationAlarms = stationAlarms;
    }

    public CheZhanBaoJingPaiMingModel(List<StationAlarm> stationAlarms) {
        this.stationAlarms = stationAlarms;
    }

    public CheZhanBaoJingPaiMingModel() {
    }

    /**
     * 报警车站
     */
    public class StationAlarm {
        //车站名称
        private String stationName;
        //报警次数
        private int alarmCount;

        public String getStationName() {
            return stationName;
        }

        public void setStationName(String stationName) {
            this.stationName = stationName;
        }

        public int getAlarmCount() {
            return alarmCount;
        }

        public void setAlarmCount(int alarmCount) {
            this.alarmCount = alarmCount;
        }
    }
}


